package com.zzyk.main.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zzyk.main.mapper.AlarmMsgLogMapper;
import com.zzyk.main.model.pojo.AlarmMsgLog;
import com.zzyk.main.service.AlarmMsgLogService;
@Service
public class AlarmMsgLogServiceImpl implements AlarmMsgLogService{

    @Resource
    private AlarmMsgLogMapper alarmMsgLogMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return alarmMsgLogMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(AlarmMsgLog record) {
        return alarmMsgLogMapper.insert(record);
    }

    @Override
    public int insertSelective(AlarmMsgLog record) {
        return alarmMsgLogMapper.insertSelective(record);
    }

    @Override
    public AlarmMsgLog selectByPrimaryKey(Integer id) {
        return alarmMsgLogMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(AlarmMsgLog record) {
        return alarmMsgLogMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(AlarmMsgLog record) {
        return alarmMsgLogMapper.updateByPrimaryKey(record);
    }

}
